package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @program: cloud2020
 * @description: 主启动类
 * @author: ZhaoYe
 * @create: 2021-07-30 07:17
 *
 * //该注解用于向使用consul或者zookeeper作为注册中心时注册服务 @EnableDiscoveryClient
 **/
@SpringBootApplication
@EnableDiscoveryClient
public class PaymentMain8004 {
    public static void main(String[] args) {
        SpringApplication.run(PaymentMain8004.class, args);
    }
}